package com.example.fireDet.entity;

import java.io.Serializable;
import java.util.Date;

public class ImageTable implements Serializable {
    private Integer id;

    private Date insertTime;

    private String imageLocation;

    private Integer hasFire;

    private Integer x;

    private Integer y;

    private Integer w;

    private Integer h;

    private String batchId;

    private Integer cameraId;

    private Integer tempture;

    private String by;

    private String by2;

    private String by3;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(Date insertTime) {
        this.insertTime = insertTime;
    }

    public String getImageLocation() {
        return imageLocation;
    }

    public void setImageLocation(String imageLocation) {
        this.imageLocation = imageLocation;
    }

    public Integer getHasFire() {
        return hasFire;
    }

    public void setHasFire(Integer hasFire) {
        this.hasFire = hasFire;
    }

    public Integer getX() {
        return x;
    }

    public void setX(Integer x) {
        this.x = x;
    }

    public Integer getY() {
        return y;
    }

    public void setY(Integer y) {
        this.y = y;
    }

    public Integer getW() {
        return w;
    }

    public void setW(Integer w) {
        this.w = w;
    }

    public Integer getH() {
        return h;
    }

    public void setH(Integer h) {
        this.h = h;
    }

    public String getBatchId() {
        return batchId;
    }

    public void setBatchId(String batchId) {
        this.batchId = batchId;
    }

    public Integer getCameraId() {
        return cameraId;
    }

    public void setCameraId(Integer cameraId) {
        this.cameraId = cameraId;
    }

    public Integer getTempture() {
        return tempture;
    }

    public void setTempture(Integer tempture) {
        this.tempture = tempture;
    }

    public String getBy() {
        return by;
    }

    public void setBy(String by) {
        this.by = by;
    }

    public String getBy2() {
        return by2;
    }

    public void setBy2(String by2) {
        this.by2 = by2;
    }

    public String getBy3() {
        return by3;
    }

    public void setBy3(String by3) {
        this.by3 = by3;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", insertTime=").append(insertTime);
        sb.append(", imageLocation=").append(imageLocation);
        sb.append(", hasFire=").append(hasFire);
        sb.append(", x=").append(x);
        sb.append(", y=").append(y);
        sb.append(", w=").append(w);
        sb.append(", h=").append(h);
        sb.append(", batchId=").append(batchId);
        sb.append(", cameraId=").append(cameraId);
        sb.append(", tempture=").append(tempture);
        sb.append(", by=").append(by);
        sb.append(", by2=").append(by2);
        sb.append(", by3=").append(by3);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}